package com.syedu.cels.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Arrays;
import java.util.List;

/**
 * description：单词和词汇的共同父类
 * @author Administrator
 * @date 2022/3/21 15:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public abstract class Base implements List<Base> {
    /**公共属性*/
    /**英文*/
    private String en;
    /**中文*/
    private String[] cns;

    @Override
    public String toString(){
        return en + " ==> " + Arrays.toString(cns);
    }
}